package com.atguigu.spring.bean.bean;

import java.util.List;

/**
 * @author wk
 * @create 2021-06-01 9:51
 */
public class Clazz {
    private Integer cid;
    private String cname;

    private List<Student> list;

    private List<String> strings;

    @Override
    public String toString() {
        return "Clazz{" +
                "cid=" + cid +
                ", cname='" + cname + '\'' +
                ", list=" + list +
                ", strings=" + strings +
                '}';
    }

    public List<String> getStrings() {
        return strings;
    }

    public void setStrings(List<String> strings) {
        this.strings = strings;
    }

    public Clazz(Integer cid, String cname, List<Student> list, List<String> strings) {
        this.cid = cid;
        this.cname = cname;
        this.list = list;
        this.strings = strings;
    }

    public Clazz(Integer cid, String cname, List<Student> list) {
        this.cid = cid;
        this.cname = cname;
        this.list = list;
    }

    public List<Student> getList() {
        return list;
    }

    public void setList(List<Student> list) {
        this.list = list;
    }

    public Clazz() {
    }

    public Clazz(Integer cid, String cname) {
        this.cid = cid;
        this.cname = cname;
    }

    public Integer getCid() {
        return cid;
    }

    public void setCid(Integer cid) {
        this.cid = cid;
    }

    public String getCname() {
        return cname;
    }

    public void setCname(String cname) {
        this.cname = cname;
    }
}
